/**
 * 
 */
package com.fpt.edu.vn.h2tv.dto;

import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author niteha
 * 
 */
@XmlRootElement
public class CartResponse {

	private String status;
	private Cart cart;
	private String errorMessage;
	private String exception;
	private PaymentMethod paymentMethod;
	private List<PaymentMethod> paymentMethodList;
	private ShippingMethod shippingMethod;
	private List<ShippingMethod> shippingMethodList;
	private Orders order;

	public Orders getOrders() {
		return order;
	}

	public void setOrders(Orders orders) {
		this.order = order;
	}

	public ShippingMethod getShippingMethod() {
		return shippingMethod;
	}

	@XmlElement(name = "shipping_method")
	public void setShippingMethod(ShippingMethod shippingMethod) {
		this.shippingMethod = shippingMethod;
	}

	public List<ShippingMethod> getShippingMethodList() {
		return shippingMethodList;
	}

	@XmlElement(name = "shipping_method_list")
	public void setShippingMethodList(List<ShippingMethod> shippingMethodList) {
		this.shippingMethodList = shippingMethodList;
	}

	public PaymentMethod getPaymentMethod() {
		return paymentMethod;
	}

	@XmlElement(name = "payment_method")
	public void setPaymentMethod(PaymentMethod paymentMethod) {
		this.paymentMethod = paymentMethod;
	}

	public List<PaymentMethod> getPaymentMethodList() {
		return paymentMethodList;
	}

	@XmlElement(name = "payment_method_list")
	public void setPaymentMethodList(List<PaymentMethod> paymentMethodList) {
		this.paymentMethodList = paymentMethodList;
	}

	public String getException() {
		return exception;
	}

	@XmlElement()
	public void setException(String exception) {
		this.exception = exception;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	@XmlElement(name = "error_message")
	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public String getStatus() {
		return status;
	}

	@XmlElement
	public void setStatus(String status) {
		this.status = status;
	}

	public Cart getCart() {
		return cart;
	}

	@XmlElement
	public void setCart(Cart cart) {
		this.cart = cart;
	}
}
